

def test(func):
  def wrapper()-> str:
    print("装饰器前置操作")
    func()
    print("装饰器后置操作")
    return "test111"
  return wrapper



@test
def test2():
  print("----")


test2()